home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
JCSM Shareware Collection 1993 November
/
JCSM Shareware Collection - 1993-11.iso
/
cl760
/
hyper21j.lzh
/
START.BAT
< prev
Wrap
DOS Batch File
|
1993-02-20
|
2KB
|
60 lines
echo off
if exist hypgeo21.exe goto install
if exist start.bat goto missing
echo
echo The START procedure must be run directly from the diskette drive
echo or hard-disk directory in which it is located.
echo
echo For example, if you are installing HYPERGEO from a diskette
echo in drive A, don't run A:START from a directory on another drive.
echo Instead, you should first make the diskette drive the active drive
echo and then run START, thus:
echo
echo A:
echo START
echo
echo (If you're using the second diskette drive on your system,
echo substitute B: for A: in the above directions.)
goto done
:install
set d=%1
if "%d%" == "" set d=C:\HYPERGEO
echo
echo The installation directory is: %d%
echo
hypgeo21 %d%
if errorlevel 1 goto error
if not exist %d%\hypergeo.hlp goto done
echo
echo The HYPERGEO program has been successfully installed.
echo
echo See the file README.1ST in the installation directory for an
echo overview of the program and directions for trying it out.
goto done
:error
echo
echo An error occurred during the installation of HYPERGEO.
echo
echo Check to be sure that the drive and directory you are trying to
echo install the program into were specified correctly and that there is
echo sufficient free space on that device. The command
echo
echo DIR %d%
echo
echo will show you the amount of free space on the installation drive.
echo (HYPERGEO needs about 800K bytes of disk space.)
goto done
:missing
echo
echo The START procedure can't find the file HYPGEO21.EXE. This file
echo must be in the same directory as the START.BAT file itself.
:done